Calcifer Calcifer 2 Calcifer 3 Calcifer 4
Linux

ssh 登录报错

2010/02/28 15:20 6230 次阅读 王梓
打赏
✸ ✸ ✸

1.报错 no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

➜  ~ ssh test@99.99.99.99 -p 99
Unable to negotiate with 99.99.99.99 port 99: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

2.报错no matching host key type found. Their offer: ssh-dss

➜  ~ ssh test@99.99.99.99 -p 99 -oKexAlgorithms=+diffie-hellman-group1-sha1
Unable to negotiate with 99.99.99.99 port 99: no matching host key type found. Their offer: ssh-dss

最终解决:

ssh test@99.99.99.99 -p 99 -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss -oCiphers=+aes256-cbc

✸ ✸ ✸

📜 版权声明

本文作者:王梓 | 原文链接:https://www.bthlt.com/note/227-ssh ������������

出处:葫芦的运维日志 | 转载请注明出处并保留原文链接

📜 留言板

留言提交后需管理员审核通过才会显示